package org.jeecg.modules.outOrder1.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 出库子表
 * @Author: jeecg-boot
 * @Date:   2024-01-12
 * @Version: V1.0
 */
@ApiModel(value="out_order1对象", description="出库单")
@Data
@TableName("out_order_zi")
@Accessors(chain = true)
public class OutOrderZi implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**父id*/
    @ApiModelProperty(value = "父id")
    private java.lang.String pid;
	/**品番编码*/
	@Excel(name = "品番编码", width = 15)
    @ApiModelProperty(value = "品番编码")
    private java.lang.String skuCode;
	/**客户编码*/
	@Excel(name = "客户编码", width = 15)
    @ApiModelProperty(value = "客户编码")
    private java.lang.String customerCode;
	/**托数*/
	@Excel(name = "托数", width = 15)
    @ApiModelProperty(value = "托数")
    private java.lang.Integer trayNum;
	/**箱数*/
	@Excel(name = "箱数", width = 15)
    @ApiModelProperty(value = "箱数")
    private java.lang.Integer boxNum;
	/**收容数/箱*/
	@Excel(name = "收容数/箱", width = 15)
    @ApiModelProperty(value = "收容数/箱")
    private java.lang.Integer pcs;
	/**件数*/
	@Excel(name = "件数", width = 15)
    @ApiModelProperty(value = "件数")
    private java.lang.Integer pcsNum;
	/**目的地*/
	@Excel(name = "目的地", width = 15)
    @ApiModelProperty(value = "目的地")
    private java.lang.String address;
	/**包装类型*/
    @Excel(name = "包装类型", width = 15, dicCode = "packaging_type")
    @Dict(dicCode = "packaging_type")
    @ApiModelProperty(value = "包装类型")
    private java.lang.Integer packagingType;
	/**状态*/
    @Dict(dicCode = "order_status")
    @ApiModelProperty(value = "状态")
    private java.lang.Integer outOrderStatus;
    /**已备货数*/
    @ApiModelProperty(value = "已备货数")
    private java.lang.Integer workNum;
    /**已出库数*/
    @ApiModelProperty(value = "已出库数")
    private java.lang.Integer shelfNum;
    /**标签号*/
    @Excel(name = "标签号", width = 15)
    @ApiModelProperty(value = "标签号")
    private java.lang.String labelNumber;
    /**出库件数*/
    @Excel(name = "出库件数", width = 15)
    @ApiModelProperty(value = "出库件数")
    private java.lang.Integer outNum;
    /**剩余库存*/
    @ApiModelProperty(value = "剩余库存")
    private java.lang.Integer activated;
    /**出库货位*/
    @Excel(name = "出库货位", width = 15)
    @ApiModelProperty(value = "出库货位")
    private java.lang.String compartmentCode;
}
